]> dgit.raspbian.org Git - gnome-shell.git/commit
viewSelector: Don't focus search entry on whitespace
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 22 Feb 2013 19:56:24 +0000 (20:56 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 23 Feb 2013 08:42:09 +0000 (09:42 +0100)
commitfb0cf64536a35d0d018d2f2bd506a9f02af57b14
tree0c05fc3aec437d27a78f3768b9cf481768cd4cc4
parentb37afcdba128ad7ecadb03d5817ad6e2a2a2e18c
viewSelector: Don't focus search entry on whitespace

We recently started to trim leading and trailing whitespace from
the search string, and not to trigger a search when the resulting
string was empty. However we still allow whitespace to trigger
type-ahead-find, so that the key focus is moved briefly to the
search entry and back to the stage, resulting in a disruptive
flickering of the entry.
Fix this by excluding whitespace from triggering type-ahead-find.

https://bugzilla.gnome.org/show_bug.cgi?id=694475
js/ui/viewSelector.js